Response = function(ctnt) {
   this.map = new SimpleMap();
   this.map.parseBody(ctnt);
}

Response.prototype.getCode = function() {
   return this.map.get(XConstants.RESPONSE_CODE);
}

Response.prototype.getContent = function() {
   return this.map;
}